package com.caiden_micheal.base.utils;

import io.jsonwebtoken.Claims;

public class BaseContext {

    public static ThreadLocal<Claims> threadLocal = new ThreadLocal<>();

    public static void setInfo(Claims claims) {
        threadLocal.set(claims);
    }

    public static Claims getInfo() {
        return threadLocal.get();
    }

    public static void removenfo() {
        threadLocal.remove();
    }

}